<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<html>
<style type="text/css">
    table {
        border-collapse: collapse;
    }

    table, td, th {
        border: 1px solid black;
    }
</style>
<body>
<h2>Hello World!</h2>
权限验证：
<fieldset>
    <table>
        <tr>
            <td colspan="">uri</td>
            <td>有效访问的用户</td>
            <td>无效访问的用户</td>
        </tr>
        <tr>
            <td>/security/checkAuthority1</td>
            <td>user1,user2</td>
            <td>user3,user4</td>
        </tr>
        <tr>
            <td>/security/checkAuthority2</td>
            <td>user3,user4</td>
            <td>user1,user2</td>
        </tr>
    </table>
</fieldset>
<hr>
<a href="/security/checkAuthority1?username=user1">通过验证的用户:username=user1</a>
<a href="/security/checkAuthority1?username=user3">通过不验证的用户:username=user3</a>
</body>
</html>
